package com.mjx.dao;

import com.mjx.entity.User;
import org.bson.types.ObjectId;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by meijingxiang on 2017/3/14.
 */
@Repository
public interface UserRepository extends CrudRepository<User,ObjectId> {
    User findByClientIp(String clientIp);

}
